let logTimes = 0
export const log = async (ctx, next) => {
    logTimes++
    console.time(`${logTimes}: ${ctx.method} - ${ctx.url}`)
    await next()
    console.timeEnd(`${logTimes}: ${ctx.method} - ${ctx.url}`)
}